[NTG-context] Re: \framed{\externalfigure} vs \externalfigure[frame=on]

2024-01-27 Thread Jim
>> frame=on) but I didn't get the frame to play nicely (see example below). I >> can get the frame where I want it if instead I do >> \framed[frame=on,...]{\externalfigure...} >> but this leaves me wondering whether >> (1) I am misinterpreting the wik

[NTG-context] Re: \framed{\externalfigure} vs \externalfigure[frame=on]

2024-01-27 Thread Pablo Rodriguez via ntg-context
shows which keys and values \setupexternalfigure allows. > I tried to put a frame around a picture (using \externalfigure with > frame=on) but I didn't get the frame to play nicely (see example below). I > can get the frame where I want it if instead I do > \framed[f

[NTG-context] \framed{\externalfigure} vs \externalfigure[frame=on]

2024-01-27 Thread Jim
ere I want it if instead I do \framed[frame=on,...]{\externalfigure...} but this leaves me wondering whether (1) I am misinterpreting the wiki pages, (2) The wiki pages are misleading/wrong, or (3) There is a bug in some code. If anyone would care to enlighten me, I would appreciate it. In

[NTG-context] framed: rounded corner oddity

2023-12-05 Thread Henning Hraban Ramm
Hi, in my ConTeXt book, some examples for \framed with rounded corners look odd, as if the MetaPost calculation of rounded corners fails. I can’t find a minimal example that shows the problem, and I can’t imagine which of the settings in my extensive environment would cause it. Find below

[NTG-context] Re: protrusion in framed

2023-10-20 Thread Csikos Bela
Csikos Bela schrieb am 20.10.2023 um 14:53: > Hello: > > Protrusioin doesn't work in framed environment. > > This is a short code: > > \definefontfeature[default][default][expansion=quality,protrusion=quality] > > \setupalign[hz,hanging] > > \showfram

[NTG-context] Re: protrusion in framed

2023-10-20 Thread Csikos Bela
I forgot to attach the pdf. Eredeti levél Hello:Protrusioin doesn't work in framed environment.This is a short code:\definefontfeature[default][default][expansion=quality,protrusion=quality]\setupalign[hz,hanging]\showframe\starttext\input tufte\blank\framed[frame=off,location

[NTG-context] Re: protrusion in framed

2023-10-20 Thread Wolfgang Schuster
Csikos Bela schrieb am 20.10.2023 um 14:53: Hello: Protrusioin doesn't work in framed environment. This is a short code: \definefontfeature[default][default][expansion=quality,protrusion=quality] \setupalign[hz,hanging] \showframe \starttext \input tufte \blank \framed[frame=off

[NTG-context] protrusion in framed

2023-10-20 Thread Csikos Bela
Hello:Protrusioin doesn't work in framed environment.This is a short code:\definefontfeature[default][default][expansion=quality,protrusion=quality]\setupalign[hz,hanging]\showframe\starttext\input tufte\blank\framed[frame=off,location=top,align=normal,offset=0pt]{\input tufte }\blank

[NTG-context] Re: Framed Text with Chapter Numbers as Counter

2023-09-17 Thread Wolfgang Schuster
Jeroen schrieb am 16.09.2023 um 22:28: This MWE has a framed text for some verbatim text (code) with as title ref. a counter 1, 2, etc.. Is there a way to change this frame text title as following with the chapter number and a sequential number and the title. Code Fragment 1.1 (The First

[NTG-context] Re: Framed Text with Chapter Numbers as Counter

2023-09-17 Thread Jeroen
\stopCode \stopchapter \stoptext Op zo 17 sep 2023 om 17:31 schreef Bruce Horrocks : > > > > On 16 Sep 2023, at 21:28, Jeroen wrote: > > > > This MWE has a framed text for some verbatim text (code) with as title > ref. a counter 1, 2, etc.. Is there a way to change

[NTG-context] Re: Framed Text with Chapter Numbers as Counter

2023-09-17 Thread Bruce Horrocks
> On 16 Sep 2023, at 21:28, Jeroen wrote: > > This MWE has a framed text for some verbatim text (code) with as title ref. a > counter 1, 2, etc.. Is there a way to change this frame text title as > following with the chapter number and a sequential number and th

[NTG-context] Framed Text with Chapter Numbers as Counter

2023-09-16 Thread Jeroen
This MWE has a framed text for some verbatim text (code) with as title ref. a counter 1, 2, etc.. Is there a way to change this frame text title as following with the chapter number and a sequential number and the title. Code Fragment 1.1 (The First Title) Code Fragment 1.2 (The Second Title

[NTG-context] Re: depth of framed

2023-07-16 Thread Wolfgang Schuster
Hans van der Meer via ntg-context schrieb am 16.07.2023 um 12:14: I cannot get rid of some depth in framed. Used various combinations of the depth and backgrounddepth setting, nothing helps. What am I doing wrong? Or is something in \framed not working in the way I expected? 1. Include your

[NTG-context] depth of framed

2023-07-16 Thread Hans van der Meer via ntg-context
I cannot get rid of some depth in framed. Used various combinations of the depth and backgrounddepth setting, nothing helps.What am I doing wrong? Or is something in \framed not working in the way I expected?See the accompanying MWE. yours sincerelydr. Hans van der Meer framedepth.pdf

Re: [NTG-context] Inline framed verbatim text

2023-05-19 Thread Aditya Mahajan via ntg-context
On Fri, 19 May 2023, Jeroen via ntg-context wrote: > Many thanks. Is there a proper way to add some space (a couple of pt or em) > to the left and the right of the text itself so the frame does not get so > close to the text? \framed[loffset=0.2ex, roffset=0.2ex]{...} Also s

Re: [NTG-context] Inline framed verbatim text

2023-05-19 Thread Jeroen via ntg-context
chrieb am 19.05.2023 um 14:22: > > In order to get some inline framed verbatim text, I have in the past > > always used the following: > > > > \starttext > > > > This is an > > \inframed > > [frame=on, > > corner=00, > > radius=2mm,of

Re: [NTG-context] Inline framed verbatim text

2023-05-19 Thread Wolfgang Schuster via ntg-context
Jeroen via ntg-context schrieb am 19.05.2023 um 14:22: In order to get some inline framed verbatim text, I have in the past always used the following: \starttext This is an \inframed   [frame=on,   corner=00, radius=2mm,offset=-1.5pt]   {\ttx \bf example} \stoptext Since this has come-up

[NTG-context] Inline framed verbatim text

2023-05-19 Thread Jeroen via ntg-context
In order to get some inline framed verbatim text, I have in the past always used the following: \starttext This is an \inframed [frame=on, corner=00, radius=2mm,offset=-1.5pt] {\ttx \bf example} \stoptext Since this has come-up more and more often, I created the following: \define[1

Re: [NTG-context] \placeinitial doesn't work inside \framedtext (or \framed)

2023-05-16 Thread 李延瑞
Gerben Wierda via ntg-context 于2023年5月17日周三 06:42写道: > I did a simple thing, replace a \framed by \framedtext to get > \placeinitial working but that doesn't seem to work automatically: > > %== > \starttext > \setupinitial[n=2,text=Knuth]\placei

[NTG-context] \placeinitial doesn't work inside \framedtext (or \framed)

2023-05-16 Thread Gerben Wierda via ntg-context
I did a simple thing, replace a \framed by \framedtext to get \placeinitial working but that doesn't seem to work automatically: %== \starttext \setupinitial[n=2,text=Knuth]\placeinitial\input knuth \framed[align=flushleft]{\setupinitial[n=2,text=Knuth]\placeinitial

[NTG-context] \placeinitial inside \framed?

2023-05-15 Thread Gerben Wierda via ntg-context
I'd like to use a drop cap inside a \framed, but it doesn't work. Minimal example: %== \starttext \setupinitial[n=2,text=Knuth]\placeinitial\input knuth \framed[align=flushleft]{\setupinitial[n=2,text=Knuth]\placeinitial\input knuth } \stoptext

Re: [NTG-context] Floating Figure in framed-environment

2022-10-19 Thread Wolfgang Schuster via ntg-context
Oliver Sieber via ntg-context schrieb am 19.10.2022 um 11:31: Dear ConTeXt Users I am relatively new to context and I am suffering with a problem with the framed environment. I want to use a framed textbox for Definitions in my script. I also want to use floating figures. But this does

Re: [NTG-context] Floating Figure in framed-environment

2022-10-19 Thread Oliver Sieber via ntg-context
Dear Uschi Thanks for the example. But unfortunately it behaves similiar. As soon as I want to place the figure to the right by using \placefigure [right]… with floating text to the left. The framed environment behaves strange, i.e. it seems to ignore the image. Just using a centered image

Re: [NTG-context] Floating Figure in framed-environment

2022-10-19 Thread Ursula Hermann via ntg-context
. Oktober 2022 11:31 An: ntg-context@ntg.nl Cc: Oliver Sieber Betreff: [NTG-context] Floating Figure in framed-environment Dear ConTeXt Users I am relatively new to context and I am suffering with a problem with the framed environment. I want to use a framed textbox for Definitions in my script. I

[NTG-context] Floating Figure in framed-environment

2022-10-19 Thread Oliver Sieber via ntg-context
Dear ConTeXt Users I am relatively new to context and I am suffering with a problem with the framed environment. I want to use a framed textbox for Definitions in my script. I also want to use floating figures. But this does not work and I haven’t found out why. Maybe I totally use

Re: [NTG-context] How do I turn off indentation inside a \framed with align=?

2022-06-03 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 03.06.2022 um 00:57: On 19 May 2022, at 18:22, Wolfgang Schuster via ntg-context mailto:ntg-context@ntg.nl>> wrote: You have to provide a minimal example, in the following the example the text within the frame isn't indented. I cannot always provide

Re: [NTG-context] How do I turn off indentation inside a \framed with align=?

2022-06-02 Thread Gerben Wierda via ntg-context
layer[coremodel][preset=lefttop,voffset=0.6cm]{\framed[frame=off,align=flushleft,width=\textwidth]{\phrasetext{metamodelexplanation}}} \setlayer[coremodel][preset=lefttop,voffset=6cm]{\framed[frame=off,align=flushleft,width=\textwidth]{Only direct relations are shown. Abstract elements are expand

Re: [NTG-context] How do I turn off indentation inside a \framed with align=?

2022-05-19 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 19.05.2022 um 17:27: I have these kinds of statements \framed[frame=off,align=flushleft,width=\textwidth]{\phrasetext{metamodelexplanation}} but the text inside the frame is typeset with indentation. I tried \setupindenting both before and after

[NTG-context] How do I turn off indentation inside a \framed with align=?

2022-05-19 Thread Gerben Wierda via ntg-context
I have these kinds of statements \framed[frame=off,align=flushleft,width=\textwidth]{\phrasetext{metamodelexplanation}} but the text inside the frame is typeset with indentation. I tried \setupindenting both before and after \starttext, (none,no,never) but that doesn’t work. How do I turn

Re: [NTG-context] issue with framed texts

2022-04-25 Thread Wolfgang Schuster via ntg-context
to the backcover framed text. [...] While you can pass a instance to \starframed (e.g. \startframed[backcover]) the same isn't possible with \startframedtext. Many thanks for your reply, Wolfgang. I thought I could do that, because http://www.pragma-ade.com/general/qrcs/setup-en.pdf seems to allow

Re: [NTG-context] issue with framed texts

2022-04-25 Thread Pablo Rodriguez via ntg-context
On 4/24/22 21:13, Wolfgang Schuster via ntg-context wrote: > Pablo Rodriguez via ntg-context schrieb am 24.04.2022 um 20:56: >> [...] >> Using current LMTX (2022.04.20 19:18), I’m afraid no format from >> \setupframedtext is applied to the backcover framed text. >>

Re: [NTG-context] issue with framed texts

2022-04-24 Thread Wolfgang Schuster via ntg-context
zapf \stopframedtext \stoptext Using current LMTX (2022.04.20 19:18), I’m afraid no format from \setupframedtext is applied to the backcover framed text. Can anyone confirm the issue or explain what I’m doing wrong? You have to use \startbackcover ... \stopbackcover in your document. While

[NTG-context] issue with framed texts

2022-04-24 Thread Pablo Rodriguez via ntg-context
), I’m afraid no format from \setupframedtext is applied to the backcover framed text. Can anyone confirm the issue or explain what I’m doing wrong? Just in case it may be relevant, I’m on Linux 64bit. Many thanks for your help, Pablo

Re: [NTG-context] Align table (framed) top

2022-01-04 Thread Mikael Sundqvist via ntg-context
Oh, I should have thought of that. Thanks (again) Wolfgang! /Mikael On Tue, Jan 4, 2022 at 5:22 PM Wolfgang Schuster wrote: > > Mikael Sundqvist via ntg-context schrieb am 04.01.2022 um 13:21: > > Oh, thanks! > > > > I can simply wrap my table in a framed environment,

Re: [NTG-context] Align table (framed) top

2022-01-04 Thread Wolfgang Schuster via ntg-context
Mikael Sundqvist via ntg-context schrieb am 04.01.2022 um 13:21: Oh, thanks! I can simply wrap my table in a framed environment, then. If it is still possible to solve without the surrounding framed I'm interested to hear how. You have to put the table in a box to change the vertical position

Re: [NTG-context] Align table (framed) top

2022-01-04 Thread Mikael Sundqvist via ntg-context
Oh, thanks! I can simply wrap my table in a framed environment, then. If it is still possible to solve without the surrounding framed I'm interested to hear how. /Mikael On Tue, Jan 4, 2022 at 12:12 PM kauśika wrote: > > On Tuesday, January 4, 2022 4:24:22 PM IST Mikael Sundqvist v

Re: [NTG-context] Align table (framed) top

2022-01-04 Thread kauśika via ntg-context
the table to align vertically with the text > Bar. If you don't need a table, the following achieves the same: \starttext Foofoo Bar \framed[width=2cm,align=normal,location=top]{this is a long sentence}\par The last foo \s

[NTG-context] Align table (framed) top

2022-01-04 Thread Mikael Sundqvist via ntg-context
Hi, This is probably simple, but I cannot combine the right keys to get it to work. What is the correct way to get the last line, "The last foo", to automatically be placed below the second table? I still want the first line of the table to align vertically with the text Bar. /Mikael \starttext

Re: [NTG-context] Indentation inside \framed won't go away

2021-10-21 Thread Ramkumar KB via ntg-context
> > > > I have this nagging issue of indentation (in the 1st line) showing up > > inside \framed in spite of all the commands to skip indentation (see > > attached PDF). > > > > It appears that *\setupindenting[no]* is not playing any role here and > > some ot

Re: [NTG-context] Indentation inside \framed won't go away

2021-10-21 Thread Hans Hagen via ntg-context
On 10/21/2021 10:32 AM, Ramkumar KB via ntg-context wrote: Hello, I have this nagging issue of indentation (in the 1st line) showing up inside \framed in spite of all the commands to skip indentation (see attached PDF). It appears that *\setupindenting[no]* is not playing any role here

Re: [NTG-context] Indentation inside \framed won't go away

2021-10-21 Thread mf via ntg-context
\definepapersize[a4-portrait][A4][A4] \setuppapersize[a4-portrait] \setuplayout[topspace=10mm,backspace=15mm,header=50pt,footer=50pt,textwidth=165mm,height=middle,width=middle] \starttext \offset[x=\dimexpr11mm\relax,y=\dimexpr23mm\relax] {\framed[frame=on,offset=none,align=flushleft

Re: [NTG-context] Indentation inside \framed won't go away

2021-10-21 Thread fv leung via ntg-context
I use \removeunwantedspaces in this case. Ramkumar KB via ntg-context 於 2021年10月21日 週四 下午4:32寫道: > Hello, > > I have this nagging issue of indentation (in the 1st line) showing up > inside \framed in spite of all the commands to skip indentation (see > attached PDF).

[NTG-context] Indentation inside \framed won't go away

2021-10-21 Thread Ramkumar KB via ntg-context
Hello, I have this nagging issue of indentation (in the 1st line) showing up inside \framed in spite of all the commands to skip indentation (see attached PDF). It appears that *\setupindenting[no]* is not playing any role here and some other parameter is overriding this. Any tips would

[NTG-context] solved problem of footnote in framed text

2021-07-26 Thread jbf via ntg-context
I solved my own problem of the footnote not appearing. Discovered \startpostponingnotes! That solved the problem. Julian ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] Bug in \framed and \inframed

2021-05-06 Thread Aditya Mahajan
On Thu, 6 May 2021, Johann Birnick wrote: > There is a bug with \framed and related commands: If this is the first object > in > a line, a linebreak is inserted! See the following example: > >

[NTG-context] Bug in \framed and \inframed

2021-05-06 Thread Johann Birnick
There is a bug with \framed and related commands: If this is the first object in a line, a linebreak is inserted! See the following example: \starttext This \inframed{works} fine. \inframed{But} this not. \stoptext Thank

Re: [NTG-context] \hbox to ... equivalent in ConTeXt (\framed)

2021-02-26 Thread Jairo A. del Rio
dds spacing between characters inside a word. So, > > what I was asking is if I can stretch only spaces between words via > > key-value pairs in \framed, if possible, of course. Thank you very much. > > \starttext > > \framed[width=10cm,align=normal]{\maxaligned{Uno dos tres}} >

Re: [NTG-context] \hbox to ... equivalent in ConTeXt (\framed)

2021-02-26 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 26.02.2021 um 23:09: Nice, but it also adds spacing between characters inside a word. So, what I was asking is if I can stretch only spaces between words via key-value pairs in \framed, if possible, of course. Thank you very much. \starttext \framed[width=10cm

Re: [NTG-context] \hbox to ... equivalent in ConTeXt (\framed)

2021-02-26 Thread Jairo A. del Rio
Nice, but it also adds spacing between characters inside a word. So, what I was asking is if I can stretch only spaces between words via key-value pairs in \framed, if possible, of course. Thank you very much. Jairo :) El vie, 26 de feb. de 2021 a la(s) 17:06, Wolfgang Schuster

Re: [NTG-context] \hbox to ... equivalent in ConTeXt (\framed)

2021-02-26 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 26.02.2021 um 22:38: Hi list. Is there an interface for \hbox to via framed? I think it's not the ConTeXt spirit to do something like \framed[offset=0cm]{\hbox to 10cm{Uno dos tres}} where spacing is stretched so all the available space is filled, so I want

Re: [NTG-context] \hbox to ... equivalent in ConTeXt (\framed)

2021-02-26 Thread Aditya Mahajan
On Fri, 26 Feb 2021, Jairo A. del Rio wrote: > Hi list. > > Is there an interface for \hbox to via framed? I think it's not the > ConTeXt spirit to do something like > > \framed[offset=0cm]{\hbox to 10cm{Uno dos tres}} \framed[width=10cm]{....} and \framed[heig

[NTG-context] \hbox to ... equivalent in ConTeXt (\framed)

2021-02-26 Thread Jairo A. del Rio
Hi list. Is there an interface for \hbox to via framed? I think it's not the ConTeXt spirit to do something like \framed[offset=0cm]{\hbox to 10cm{Uno dos tres}} where spacing is stretched so all the available space is filled, so I want to know about a better way. Thank you beforehand

Re: [NTG-context] \framed command: (strange ?) difficulty to control the interlinespace between the first and the second line

2020-11-16 Thread Wolfgang Schuster
Garulfo schrieb am 16.11.2020 um 21:07: Hi, with a simple application of \framed, see MWE below, the space between the first line and the second line doesn't match with the others (gap is bigger). I get similar results: - with my computer and live.contextgarden.net - with context

[NTG-context] \framed command: (strange ?) difficulty to control the interlinespace between the first and the second line

2020-11-16 Thread Garulfo
Hi, with a simple application of \framed, see MWE below, the space between the first line and the second line doesn't match with the others (gap is bigger). I get similar results: - with my computer and live.contextgarden.net - with context 2019.03.21 and 2020.11.08 1. Is it the expected

Re: [NTG-context] Using \defineoverlay for a framed text

2020-06-16 Thread Willi Egger
Hi Marco, thank you! :-) Willi > On 16 Jun 2020, at 14:44, Marco Patzer wrote: > > On Tue, 16 Jun 2020 14:37:17 +0200 > Marco Patzer wrote: > >> On Tue, 16 Jun 2020 14:17:09 +0200 >> Willi Egger wrote: >> >>> I try to use a Metapost drawing as

Re: [NTG-context] Using \defineoverlay for a framed text

2020-06-16 Thread Marco Patzer
On Tue, 16 Jun 2020 14:37:17 +0200 Marco Patzer wrote: > On Tue, 16 Jun 2020 14:17:09 +0200 > Willi Egger wrote: > > > I try to use a Metapost drawing as a background to a framed text. — > > I can not make it working though… > > > > \startuniqueMPgraphic{Marki

Re: [NTG-context] Using \defineoverlay for a framed text

2020-06-16 Thread Marco Patzer
On Tue, 16 Jun 2020 14:17:09 +0200 Willi Egger wrote: > I try to use a Metapost drawing as a background to a framed text. — I > can not make it working though… > > \startuniqueMPgraphic{Markings} > %{Markings:\overlaywidth:\overlayheight} fill OverlayBox enlarged 5mm &

[NTG-context] Using \defineoverlay for a framed text

2020-06-16 Thread Willi Egger
Hello listmembers, I try to use a Metapost drawing as a background to a framed text. — I can not make it working though… \startuniqueMPgraphic{Markings} %{Markings:\overlaywidth:\overlayheight} fill OverlayBox enlarged 5mm withcolor blue; \stopuniqueMPgraphic \defineoverlay[Marks

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Gerben Wierda
> On 1 May 2020, at 13:28, Hans Hagen wrote: > > On 5/1/2020 10:21 AM, Gerben Wierda wrote: >> code it back to a \ ? E.g. something like >>{ ‘\U{XXX}', '\' }, > \utfchar{100} > \Uchar 100 Yes, but the question was: how do I code this in the XML and get it through my

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Gerben Wierda
> On 1 May 2020, at 09:38, Hans Hagen wrote: > > On 5/1/2020 1:44 AM, Gerben Wierda wrote: >>{ ‘\n', ‘\\strut' }, > often a \zwj or \zwno also works ok (has zero dimensions, contraty to strut; > you could also try \crlf I tried \crlf{} and that worked too (the “{}” because I do not

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Hans Hagen
On 5/1/2020 1:45 PM, Gerben Wierda wrote: On 1 May 2020, at 13:28, Hans Hagen wrote: On 5/1/2020 10:21 AM, Gerben Wierda wrote: code it back to a \ ? E.g. something like { ‘\U{XXX}', '\' }, \utfchar{100} \Uchar 100 Yes, but the question was: how do I code this in the XML and get it

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Hans Hagen
On 5/1/2020 1:45 PM, Gerben Wierda wrote: On 1 May 2020, at 13:28, Hans Hagen wrote: On 5/1/2020 10:21 AM, Gerben Wierda wrote: code it back to a \ ? E.g. something like { ‘\U{XXX}', '\' }, \utfchar{100} \Uchar 100 Yes, but the question was: how do I code this in the XML and get it

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Hans Hagen
On 5/1/2020 10:21 AM, Gerben Wierda wrote: code it back to a \ ? E.g. something like    { ‘\U{XXX}', '\' }, \utfchar{100} \Uchar 100 - Hans Hagen | PRAGMA ADE Ridderstraat

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-05-01 Thread Hans Hagen
On 5/1/2020 1:44 AM, Gerben Wierda wrote:    { ‘\n', ‘\\strut' }, often a \zwj or \zwno also works ok (has zero dimensions, contraty to strut; you could also try \crlf Hans - Hans

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Gerben Wierda
> On 30 Apr 2020, at 22:54, Wolfgang Schuster > wrote: > > Gerben Wierda schrieb am 30.04.2020 um 22:47: >> In normal TeX, when I type >> AapAap >> I get something like >> Aap >> Aap >> But inside a \framed[align=]{} the empty line disappea

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Gerben Wierda
> On 30 Apr 2020, at 22:51, Henning Hraban Ramm wrote: > > > >> Am 30.04.2020 um 22:47 schrieb Gerben Wierda : >> >> In normal TeX, when I type >> >> AapAap >> >> I get something like >> >> Aap >> >> Aap

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Gerben Wierda
Brilliant! Thank you! > On 30 Apr 2020, at 22:54, Wolfgang Schuster > wrote: > > Gerben Wierda schrieb am 30.04.2020 um 22:47: >> In normal TeX, when I type >> AapAap >> I get something like >> Aap >> Aap >> But inside a \framed[align=]{} the

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Wolfgang Schuster
Gerben Wierda schrieb am 30.04.2020 um 22:47: In normal TeX, when I type AapAap I get something like Aap Aap But inside a \framed[align=]{} the empty line disappears. How do I get it back? Minimal example: \starttext TestingTesting \page \framed[align=flushleft]{Testing

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Henning Hraban Ramm
> Am 30.04.2020 um 22:47 schrieb Gerben Wierda : > > In normal TeX, when I type > > AapAap > > I get something like > > Aap > > Aap > > But inside a \framed[align=]{} the empty line disappears. How do I get it > back? Try \framedt

[NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Gerben Wierda
In normal TeX, when I type AapAap I get something like Aap Aap But inside a \framed[align=]{} the empty line disappears. How do I get it back? Minimal example: \starttext TestingTesting \page \framed[align=flushleft]{TestingTesting

[NTG-context] \framed[align=] with a 'maxwidth' instead of a width? Or get the size of a \frame returned to lua without typesetting it in a document?

2020-04-26 Thread Gerben Wierda
Setup: TeX file Contains ctxlua{} call lua function reads XML file and calls context() statements, it puts out a \startMPpage METAPOST statements Of which some are textext(\framed[align, so

Re: [NTG-context] Solution: METAPOST textext() eats my \pars. Was: Setting vertical spacing of lines inside a \framed[align=]

2020-04-25 Thread Gerben Wierda
On a hunch, I found a solution. I added \\ instead of \par at the end and goit exactly what I wanted. \enabletrackers[context.trace] \starttext %\framed[align=flushright,frame=on,offset=none,width=106.400bp]{\colored[r=0.000, g=0.000, %b=0.000]{\switchtobodyfont[11.0pt]\setupinterlinespace

[NTG-context] METAPOST textext() eats my \pars. Was: Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Gerben Wierda
> On 24 Apr 2020, at 18:40, Thomas A. Schmitz <mailto:thomas.schm...@uni-bonn.de>> wrote: > > > >> On 24. Apr 2020, at 18:19, Gerben Wierda > <mailto:gerben.wie...@rna.nl>> wrote: >> >> \starttext >> >> \framed[align=flushrigh

[NTG-context] METAPOST textext() eats my \pars. Was: Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Gerben Wierda
> On 24 Apr 2020, at 18:40, Thomas A. Schmitz <mailto:thomas.schm...@uni-bonn.de>> wrote: > > > >> On 24. Apr 2020, at 18:19, Gerben Wierda > <mailto:gerben.wie...@rna.nl>> wrote: >> >> \starttext >> >> \framed[align=flushrigh

Re: [NTG-context] Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Gerben Wierda
> On 24 Apr 2020, at 19:32, Wolfgang Schuster > wrote: > > Thomas A. Schmitz schrieb am 24.04.2020 um 18:40: >>>> On 24. Apr 2020, at 18:19, Gerben Wierda wrote: >>> >>> \starttext >>> >>> \framed[align=flushright,frame=on,offset=none,

Re: [NTG-context] Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Wolfgang Schuster
Thomas A. Schmitz schrieb am 24.04.2020 um 18:40: On 24. Apr 2020, at 18:19, Gerben Wierda wrote: \starttext \framed[align=flushright,frame=on,offset=none,width=106.400bp]{\colored[r=0.000, g=0.000, b=0.000]{\switchtobodyfont[11.0pt] \setupinterlinespace[20pt] \rm [My]\\Application

Re: [NTG-context] Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Thomas A. Schmitz
> On 24. Apr 2020, at 18:19, Gerben Wierda wrote: > > \starttext > > \framed[align=flushright,frame=on,offset=none,width=106.400bp]{\colored[r=0.000, > g=0.000, > b=0.000]{\switchtobodyfont[11.0pt] \setupinterlinespace[20pt] \rm > [My]\\Application\\(Com

Re: [NTG-context] Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Gerben Wierda
I want the lines in this frame packed more closely together: \starttext \framed[align=flushright,frame=on,offset=none,width=106.400bp]{\setupinterlinespace[0.9]\colored[r=0.000, g=0.000, b=0.000]{\switchtobodyfont[11.0pt] \rm [My]\\Application\\(Component)}} \stoptext I tried a bit

[NTG-context] Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Gerben Wierda
I have been experimenting with \startpacked..\stoppacked but it doesn’t seem to work. What is the preferred way of getting lines in a normal paragraph (actually, we’re talking about a \framed with align, so a full paragraph in a TeX \vbox) (In addition, I try to find this kind of information

Re: [NTG-context] Setting vertical spacing of lines inside a \framed[align=]

2020-04-24 Thread Wolfgang Schuster
Gerben Wierda schrieb am 24.04.2020 um 17:38: I have been experimenting with \startpacked..\stoppacked but it doesn’t seem to work. What is the preferred way of getting lines in a normal paragraph (actually, we’re talking about a \framed with align, so a full paragraph in a TeX \vbox) Do you

Re: [NTG-context] Fwd: Adding optional enumeration text to framed enumeration header

2020-04-19 Thread Aditya Mahajan
On Sun, 19 Apr 2020, Jairo A. del Rio wrote: I've seen the following solution in Stack Exchange to add referenceable enumeration labels to a framed enumeration environment: https://tex.stackexchange.com/questions/438588/context-and-metafun-framed-enumeration-with-counter-as-part-of-overlay

[NTG-context] Fwd: Adding optional enumeration text to framed enumeration header

2020-04-18 Thread Jairo A. del Rio
labels to a framed enumeration environment: https://tex.stackexchange.com/questions/438588/context-and-metafun-framed-enumeration-with-counter-as-part-of-overlay It uses \wrappedcurrentconstruction. However, it only prints the counter label and the counter name. What if I need the text enclosed

Re: [NTG-context] Sidefloats inside framed

2019-09-15 Thread Wolfgang Schuster
Henri Menke schrieb am 15.09.2019 um 05:05: Dear list, Is there a way to get sidefloats working inside a frame? I'm currently designing a conference poster and I'm manually placing blocks using \setlayerframed where inside those blocks I'd like to have sidefloats. MWE is below. Cheers, Henri

Re: [NTG-context] Sidefloats inside framed

2019-09-14 Thread Aditya Mahajan
background instead of framed. Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage

[NTG-context] Sidefloats inside framed

2019-09-14 Thread Henri Menke
Dear list, Is there a way to get sidefloats working inside a frame? I'm currently designing a conference poster and I'm manually placing blocks using \setlayerframed where inside those blocks I'd like to have sidefloats. MWE is below. Cheers, Henri --- \starttext

Re: [NTG-context] Bugs in \framed

2019-09-06 Thread Hans Hagen
, but is wrong for a while) hm \framed[ frame=on, corner=round, frameoffset=0.5em, framecolor=black, background=color, backgroundcolor=darkgreen, backgroundoffset=1em, foreground=color,color=white, ]{{\color[white]{\ss\bf I wanted Center Green!}}} btw, use foregroundcolor

[NTG-context] Bugs in \framed

2019-09-06 Thread Henning Hraban Ramm
=mono,rulethickness=1pt,offset=0.5em,framecolor=darkgreen] \startcombination[3*10] {\framed[framecorner=00]{framecorner=00}}{} {\framed[framecorner=01]{framecorner=01}}{} {\framed[framecorner=02]{framecorner=02}}{} {\framed[framecorner=03]{framecorner=03

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
] prevent \blank[-0.5em] from working after a \framed? (Ok. I better sleep before I pollute the mailing list further.) Apparent Solution: \usecolors[xwi] \setupwhitespace[line] \starttext \definetextbackground[secondary][ location=always, background=color, backgroundcolor=lightgray

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
\framed[ width=local, corner=03, background=color, backgroundcolor=cyan, frame=off ]{My header!} \blank[-0.5em] \startsecondary \input knuth \stopsecondary \stopnarrower \input knuth \stoptext Regards Jon > On Aug 21, 2019, at 9:37 PM, Jon Wong wrote: > > Hi all

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
I want rounded corners only for top corners (corner=03 with \framed). Seems I really should dig into MetaFun and TextBackground. Looks really fun and useful. Sorry for the noise. Am a little carried away exploring the Garden. :-P Regards Jon > On Aug 21, 2019, at 9:25 PM, Jon Wong wrote: &g

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, Sorry, my solution didn’t work. My purpose of using \startnarrower is to have some paragraphs of text inside the \framed. Unfortunately, it seems \framed doesn’t take paragraphs. \startframedtext doesn’t have as many border options as \framed. Should I use overlays? Or layers

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, I got some progress! \setupnarrower[left=2cm, right=2cm] % what does middle do, actually? \startnarrower \dontleavehmode\framed[width=local]{testing} Since this works for left offset: \framed[width=local]{testing} \endnarrower So, how do I do a gradient background? Yeah, I know I

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Hans Hagen
On 8/21/2019 2:14 PM, Jon Wong wrote: \startnarrower \framed{testing} Seems framed doesn’t observe startnarrower commands. \endnarrower \starttext Seems framed doesn’t observe startnarrower commands. \startnarrower \dontleavehmode \framed{testing} Seems framed doesn’t observe

[NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, I want to have a \startnarrower effect. But I also want that segment to have a border (hopefully a gradient background color too!). I tried: \startnarrower \framed{testing} Seems framed doesn’t observe startnarrower commands. \endnarrower How do I achieve that? Regards Jon

Re: [NTG-context] Small pages and large framed texts

2019-03-21 Thread Willi Egger
gt;> I appears that I was not clear enough, though I am happy about the >> possibility of using textbackground. >> What I must do is to prepare a list of ConTeXt commands on a very small >> page. So the specific question is, how I can influence the >> \placelistofsorts[texcomm

Re: [NTG-context] Small pages and large framed texts

2019-03-20 Thread Wolfgang Schuster
the \placelistofsorts[texcommand] in such a way, that the framed pieces break over the page. \usemodule [setups] \setuppapersize [A6] [A6] \setupbodyfont [pagella,9pt] \definetextbackground [SetupsParameter] [before=\blank, after=\blank, topoffset=10pt, leftoffset=10pt, location

Re: [NTG-context] Small pages and large framed texts

2019-03-20 Thread Willi Egger
, that the framed pieces break over the page. \usemodule[x][set-11] \loadsetups[i-context] \setuppapersize[A6][A6] \setupbodyfont[pagella,rm,10pt] \starttext \startsection[title=hSort Version of the Command] \shortsetup{setupframed} \shortsetup{setupinteraction} \stopsection

Re: [NTG-context] Small pages and large framed texts

2019-03-20 Thread Willi Egger
Thank you Wolfgang, I will try this! Willi > On 20 Mar 2019, at 18:26, Willi Egger wrote: > > Hi, > > I deal with a small project, in which I should be able to make a framed text > break over the page. — Does anyone have an idea how to achieve this? > >

Re: [NTG-context] Small pages and large framed texts

2019-03-20 Thread Wolfgang Schuster
Willi Egger schrieb am 20.03.19 um 18:26: Hi, I deal with a small project, in which I should be able to make a framed text break over the page. — Does anyone have an idea how to achieve this? \setuppapersize[A6][A6] \setupbodyfont[pagella,rm,10pt] \starttext \framedtext

[NTG-context] Small pages and large framed texts

2019-03-20 Thread Willi Egger
Hi, I deal with a small project, in which I should be able to make a framed text break over the page. — Does anyone have an idea how to achieve this? \setuppapersize[A6][A6] \setupbodyfont[pagella,rm,10pt] \starttext \framedtext {\dorecurse{3}{\input ward\blank

  1   2   3   4   5   6   7   >